package com.szy.system.error.exception;

/**
 * @author : zhenyun.su
 * @since : 2019/9/7
 * @Comment: url处理异常
 */

@Deprecated
public class UrlException extends BaseException {
    public UrlException() {
        super();
    }

    public UrlException(String message) {
        super(message);
    }

    public UrlException(Integer code, String message) {
        super(code,message, null);
    }

    public UrlException(Integer code, String message, Object data) {
        super(code,message, data);
    }

    public static void throwException(Integer code, String message) throws UrlException {
        throw new UrlException(code, message);
    }
    public static void throwException(Integer code, String message, Object data) throws UrlException {
        throw new UrlException(code, message, data);
    }
}
